package com.ygqh.baby.model.wdt.qyb;

import java.util.ArrayList;
import java.util.List;

public class PushOrderToWdtBatchResult {


    private List<PushOrderToWdtResult> successList = new ArrayList<>();
    private List<PushOrderToWdtResult> errorList = new ArrayList<>();

    public List<PushOrderToWdtResult> getSuccessList() {
        return successList;
    }

    public void addAllSuccess(List<PushOrderToWdtResult> successList) {
        this.successList.addAll(successList);
    }

    public void addSuccess(PushOrderToWdtResult success) {
        successList.add(success);
    }

    public List<PushOrderToWdtResult> getErrorList() {
        return errorList;
    }

    public void addAllError(List<PushOrderToWdtResult> errorList) {
        this.errorList.addAll(errorList);
    }

    public void addError(PushOrderToWdtResult error) {
        errorList.add(error);
    }
}
